package com.ruoyi.crm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.ruoyi.common.core.annotation.Excel;

/**
 * ${subTable.functionName}对象 customer_product
 *
 * @author ruoyi
 * @date 2021-08-27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomerProduct
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String cpId;

    /** 客户名称 */
    private String customerName;

    /** 产品名称（变更前） */
    @Excel(name = "产品名称", readConverterExp = "变=更前")
    private String productName;

    /** 产品名称（变更后） */
    @Excel(name = "产品名称", readConverterExp = "变=更后")
    private String productNameChange;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 价税合计 */
    @Excel(name = "价税合计")
    private String taxRevenue;

    /** 未出库数量 */
    @Excel(name = "未出库数量")
    private Long uncheckoutNum;

    /** 已出库数量 */
    @Excel(name = "已出库数量")
    private Long checkoutNum;

    /** 服务开始日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "服务开始日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date serviceBdate;

    /** 服务到期日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "服务到期日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date serviceEdate;

}